package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文件对象 sys_file
 *
 * @author cjie
 * @date 2021-06-28
 */
@Data
@ApiModel
public class SysFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 文件名 */
    @Excel(name = "文件名")
    @ApiModelProperty(value = "文件名")
    private String name;

    /** 文件类型 */
    @Excel(name = "文件类型")
    @ApiModelProperty(value = "文件类型")
    private Integer type;

    /** 文件大小 */
    @Excel(name = "文件大小")
    @ApiModelProperty(value = "文件大小")
    private String size;

    /** URL地址 */
    @Excel(name = "URL地址")
    @ApiModelProperty(value = "URL地址")
    private String url;


    /** oss删除Key */
    @Excel(name = "oss删除Key")
    @ApiModelProperty(value = "oss删除Key")
    private String pathKey;

    /** 关联ID */
    @Excel(name = "关联ID")
    @ApiModelProperty(value = "关联ID")
    private String linkId;

}
